package com.ruoyi.project.jiaqin.downquotation.mapper;

import java.util.List;
import com.ruoyi.project.jiaqin.downquotation.domain.DownQuotation;

/**
 * 羽绒行情Mapper接口
 *
 * @author admin
 * @date 2021-01-29
 */
public interface DownQuotationMapper
{
    /**
     * 查询羽绒行情
     *
     * @param id 羽绒行情ID
     * @return 羽绒行情
     */
    public DownQuotation selectDownQuotationById(String id);

    /**
     * 查询羽绒行情列表
     *
     * @param downQuotation 羽绒行情
     * @return 羽绒行情集合
     */
    public List<DownQuotation> selectDownQuotationList(DownQuotation downQuotation);

    /**
     * 新增羽绒行情
     *
     * @param downQuotation 羽绒行情
     * @return 结果
     */
    public int insertDownQuotation(DownQuotation downQuotation);
    public DownQuotation selectDownQuotationByFourId(String memberId,String downClassId,String downMeasureId,String downStandardId);

    /**
     * 修改羽绒行情
     *
     * @param downQuotation 羽绒行情
     * @return 结果
     */
    public int updateDownQuotation(DownQuotation downQuotation);

    /**
     * 删除羽绒行情
     *
     * @param id 羽绒行情ID
     * @return 结果
     */
    public int deleteDownQuotationById(String id);

    /**
     * 批量删除羽绒行情
     *
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteDownQuotationByIds(String[] ids);
}
